package com.metroinfo.parser;

public class ParserTypeFactory {

	public static ParseInterface getParser(int parsType){
		switch (parsType){
		case GeneralSettings.CT_SEND_DATA :
			return new ParseSendData();
		case GeneralSettings.CT_REQ_SETTINGS :
			return new ParseSendData();
		}
		
		throw new IllegalArgumentException("Parser Type Factory : unknow type "+ parsType);
	}
}
